import Vue from 'vue'
import Router from 'vue-router'

import Login from '@/components/login/Login'
import AddWord from '@/components/main/AddWord'
import UpdWord from '@/components/main/UpdWord'
import Words from '@/components/main/Words'
// import header from '@/components/header/header'
import UpdatePassword from '@/components/password/UpdatePassword'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path:'/Words',
      name:'Words',
      component:Words
    },
  // {
  // path:"/header",
  // name:"header",
  // component:header
  // },
   {
      path:'/AddWord',
      name:'AddWord',
      component:AddWord
    },
    {
      path:'/UpdWord',
      name:'UpdWord',
      component:UpdWord
    },
    {
      path:'/UpdatePassword',
       name:'UpdatePassword',
       component:UpdatePassword

    },
  ]
})
